package com.graph.test;

import lombok.Data;

import java.util.HashMap;
import java.util.Map;

@Data
public class Relation {

    private String source ;

    private String value ;

    private String target ;

    /**
     * label:{
     *             show:true,
     *             formatter:'{c}'
     *           }
     */
    private Map<String, Object>  label;

    public Relation(){
        label = new HashMap<>();
        label.put("show",true);
        label.put("formatter","{c}");
    }
}
